package com.finance.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: Apollo
 * @Date: 2021/4/10
 * @Description: 收益规则
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "rules_revenue")
public class RulesRevenue implements Serializable {

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 收益比例
     */
    private Integer profitRateRatio;

    /**
     * 是否收取手续费
     */
    private Integer isCollectionOfServiceCharge;

    /**
     * 结算手续费
     */
    private Integer settlementCharge;

    /**
     * 贷款产品标识
     */
    private String loanProductCode;




    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_PROFIT_RATE_RATIO = "profit_rate_ratio";

    public static final String COL_IS_COLLECTION_OF_SERVICE_CHARGE = "is_collection_of_service_charge";

    public static final String COL_SETTLEMENT_CHARGE = "settlement_charge";

    public static final String COL_LOAN_PRODUCT_CODE = "loan_product_code";

}